//#define  _CRT_SECURE_NO_WARNINGS
//#include <stdio.h>
//#include <assert.h>
//#include <stdlib.h>
//struct TreeNode {
//    int val;
//    struct TreeNode* left;
//    struct TreeNode* right;
//};
//
//int calculateDepth(struct TreeNode* root)
//{
//    if (root == NULL)
//    {
//        return 0;
//    }
//    int leftheight = calculateDepth(root->left);
//    int rightheight = calculateDepth(root->right);
//    return leftheight > rightheight ? leftheight + 1 : rightheight + 1;
//}